package com.sf.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 报名信息Entity类
 * 该类与数据库中的表pca_reg_info对应 
 * 
 * @author 604625
 */
public class RegInfo implements Serializable {
    private Integer id;

    private Integer mid;

    private String openid;

    private String imgUrl;

    private String province;

    private String city;

    private String county;

    private String address;

    private String name;

    private String tel;

    private Integer amount;

    private String avgpkg;

    private String createEmp;

    private Date createTm;

    private String userdef1;

    private String userdef2;

    private String userdef3;

    private String userdef4;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl == null ? null : imgUrl.trim();
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county == null ? null : county.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getAvgpkg() {
        return avgpkg;
    }

    public void setAvgpkg(String avgpkg) {
        this.avgpkg = avgpkg == null ? null : avgpkg.trim();
    }

    public String getCreateEmp() {
        return createEmp;
    }

    public void setCreateEmp(String createEmp) {
        this.createEmp = createEmp == null ? null : createEmp.trim();
    }

    public Date getCreateTm() {
        return createTm;
    }

    public void setCreateTm(Date createTm) {
        this.createTm = createTm;
    }

    public String getUserdef1() {
        return userdef1;
    }

    public void setUserdef1(String userdef1) {
        this.userdef1 = userdef1 == null ? null : userdef1.trim();
    }

    public String getUserdef2() {
        return userdef2;
    }

    public void setUserdef2(String userdef2) {
        this.userdef2 = userdef2 == null ? null : userdef2.trim();
    }

    public String getUserdef3() {
        return userdef3;
    }

    public void setUserdef3(String userdef3) {
        this.userdef3 = userdef3 == null ? null : userdef3.trim();
    }

    public String getUserdef4() {
        return userdef4;
    }

    public void setUserdef4(String userdef4) {
        this.userdef4 = userdef4 == null ? null : userdef4.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", mid=").append(mid);
        sb.append(", openid=").append(openid);
        sb.append(", imgUrl=").append(imgUrl);
        sb.append(", province=").append(province);
        sb.append(", city=").append(city);
        sb.append(", county=").append(county);
        sb.append(", address=").append(address);
        sb.append(", name=").append(name);
        sb.append(", tel=").append(tel);
        sb.append(", amount=").append(amount);
        sb.append(", avgpkg=").append(avgpkg);
        sb.append(", createEmp=").append(createEmp);
        sb.append(", createTm=").append(createTm);
        sb.append(", userdef1=").append(userdef1);
        sb.append(", userdef2=").append(userdef2);
        sb.append(", userdef3=").append(userdef3);
        sb.append(", userdef4=").append(userdef4);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}